﻿


@{
    ViewBag.Title = "操作日志";
    Layout = "~/Views/Shared/_Content.cshtml";
    var adminlist = new HmPMer.Business.AccountBll().GetAllHmAdmin();
}

@section HeadSection{
    <script src="/Scripts/jquery-1.8.3.min.js?@ViewBag.StaticVersion"></script>
    <script src="/scripts/System/BehaviorLog.js?@ViewBag.StaticVersion"></script>
    <script src="/Scripts/My97DatePicker/WdatePicker.js?@ViewBag.StaticVersion"></script>
}

<div class="layui-form">
    <blockquote class="layui-elem-quote quoteBox">
        <form class="layui-form" id="form_seartch">
            <div class="layui-inline">
                <div class="layui-input-inline">
                    操作名称：
                </div>
                <div class="layui-input-inline" style="width:150px">
                    <input type="text" class="layui-input" id="BlName" name="BlName" placeholder="操作名称" />
                </div>

                <div class="layui-input-inline">
                    操作人：
                </div>
                <div class="layui-input-inline" style="width:120px">
                    <select name="createUser" class="createUser" lay-filter="createUser">
                        <option value="">请选择</option>
                        @foreach (var item in adminlist)
                        {
                            <option value="@item.AdmUser">@item.AdmUser</option>
                        }
                    </select>
                </div>

                <div class="layui-input-inline">
                    类型：
                </div>
                <div class="layui-input-inline" style="width:120px">
                    <select name="BlType" class="BlType" lay-filter="BlType">
                        <option value="-1">请选择</option>
                        <option value="1">新增</option>
                        <option value="2">修改</option>
                        <option value="3">删除</option>
                        <option value="4">查询</option>
                    </select>
                </div>

                <div class="layui-input-inline">
                    时间：
                </div>

                <div class="layui-input-inline">
                    <input style="width:150px" class="layui-input" onfocus="WdatePicker({ maxDate: $('#EndTime').val(),dateFmt:'yyyy-MM-dd HH:mm:ss'})" value="@DateTime.Now.ToString("yyyy-MM-dd 00:00:00")" type="text" id="BeginTime" name="BeginTime" />
                </div>
                <div class="layui-input-inline">
                    到
                </div>
                <div class="layui-input-inline">
                    <input style="width:150px" class="layui-input" onfocus="WdatePicker({ minDate: $('#BeginTime').val(),dateFmt:'yyyy-MM-dd HH:mm:ss'})" value="@DateTime.Now.ToString("yyyy-MM-dd 23:59:59")" type="text" id="EndTime" name="EndTime" />
                </div>

                <a class="layui-btn search_btn" data-type="reload">搜索</a>
            </div>
            <div class="layui-inline">
                <a class="layui-btn layui-btn-normal addAdmin_btn" id="addadmin_btn">
                    <i class="layui-icon">&#xe608;</i>添加
                </a>
            </div>
        </form>
    </blockquote>
    <table id="BehaviorLogList" lay-filter="BehaviorLogList"></table>

</div>
